package com.softWang.common.service.sms.tencent;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "sms.tencent")
@ConditionalOnProperty(name = "sms.impl", havingValue = "tencentSmsSendImpl")
public class TencentConfig {
    private String secretID;
    private String secretKey;
    private String region;
    private String appId;
    // 签名名称
    private String signName;
    // 短信API的端点（固定）
    private String endpoint;
}
